package cn.sll.system.service.impl;

import cn.sll.base.service.impl.BaseServiceImpl;
import cn.sll.system.domain.SystemDictionAryType;
import cn.sll.system.mapper.SystemDictionAryDetailMapper;
import cn.sll.system.mapper.SystemDictionAryTypeMapper;
import cn.sll.system.service.ISystemDictionAryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class SystemDictionAryTypeServiceImpl extends BaseServiceImpl<SystemDictionAryType> implements ISystemDictionAryTypeService {

    @Autowired
    private SystemDictionAryTypeMapper mapper;

    @Autowired
    private SystemDictionAryDetailMapper detailMapper;

    @Override
    @Transactional
    public void delete(Long id) {
        mapper.delete(id);
//        detailMapper.delByTypesId(id);
    }
}
